package Guo.guowantong.springsecurity_04.controllers;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@ResponseBody
public class HelloController {

    @GetMapping("/hello")
    public String hello() {
        return "hello world!";
    }
}
